package ooday01;

public class CarTest {
    public static void main(String[] args) {

        Car bm = new Car();
        bm.brand = "宝马";
        bm.color = "黑";
        bm.price = 800000;
        bm.capacity = 7;
        bm.start();
        bm.run();
        bm.stop();

        Car ad = new Car();
        ad.brand = "奥迪";
        ad.color = "红";
        ad.price = 666666.66;
        ad.capacity = 7;
        ad.start();
        ad.run();
        ad.stop();

        Car bc = new Car();
        bc.start();
        bc.run();
        bc.stop();


    }
}
